bitkeeper revision 1.1665.1.5 (42a1a779yqLZDCutMj_vFNQlo3q3zw)
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Sat, 4 Jun 2005 13:07:05 +0000 (13:07 +0000)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Sat, 4 Jun 2005 13:07:05 +0000 (13:07 +0000)
commit7254a301ec076dc8ae0c2fb521b2854cbca6df81
treeb0ba3b9801934501b368f59c55e06d0a3b5d647d
parent87751a10c9c10226fb9c65a4c287fbacfa66e9ea
bitkeeper revision 1.1665.1.5 (42a1a779yqLZDCutMj_vFNQlo3q3zw)

Rationalise debugger stuff in the tree.

Within Xen itself, remove PDB references and fold into domu_debug.
When domu_debug hits a breakpoint, it pauses all vcpus of the domain
and raises VIRQ_DEBUGGER (not VIRQ_PDB). The debugger in domain0 can
either poll pause status or bind to VIRQ_DEBUGGER. Before debugging
a breakpointed domain the debugger should issue PAUSEDOMAIN itself, or
it is not guaranteed to see paused state of the domain!

Outside Xen there's a new dir tools/debugger, containing gdb, pdb and
a new library libxendebug (used by pdb). I also think the ptrace
functions in libxc also ought to be moved out: either to libxendebug
or to a new library libxenptrace.

Signed-off-by: Keir Fraser <keir@xensource.com>
63 files changed:
.rootkeys
tools/debugger/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/Makefile.in [new file with mode: 0644]
tools/debugger/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/configure [new file with mode: 0755]
tools/debugger/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/configure.in [new file with mode: 0644]
tools/debugger/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/configure.srv [new file with mode: 0644]
tools/debugger/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/linux-xen-low.c [new file with mode: 0644]
tools/debugger/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/server.c [new file with mode: 0644]
tools/debugger/gdb/gdb-6.2.1-xen-sparse/mkbuildtree [new file with mode: 0755]
tools/debugger/gdb/gdbbuild [new file with mode: 0755]
tools/debugger/libxendebug/Makefile [new file with mode: 0644]
tools/debugger/libxendebug/list.h [new file with mode: 0644]
tools/debugger/libxendebug/xendebug.c [new file with mode: 0644]
tools/debugger/libxendebug/xendebug.h [new file with mode: 0644]
tools/debugger/pdb/Domain.ml [new file with mode: 0644]
tools/debugger/pdb/Domain.mli [new file with mode: 0644]
tools/debugger/pdb/Intel.ml [new file with mode: 0644]
tools/debugger/pdb/Makefile [new file with mode: 0644]
tools/debugger/pdb/OCamlMakefile [new file with mode: 0644]
tools/debugger/pdb/PDB.ml [new file with mode: 0644]
tools/debugger/pdb/Process.ml [new file with mode: 0644]
tools/debugger/pdb/Process.mli [new file with mode: 0644]
tools/debugger/pdb/Util.ml [new file with mode: 0644]
tools/debugger/pdb/debugger.ml [new file with mode: 0644]
tools/debugger/pdb/evtchn.ml [new file with mode: 0644]
tools/debugger/pdb/evtchn.mli [new file with mode: 0644]
tools/debugger/pdb/pdb_caml_xc.c [new file with mode: 0644]
tools/debugger/pdb/pdb_xen.c [new file with mode: 0644]
tools/debugger/pdb/server.ml [new file with mode: 0644]
tools/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/Makefile.in [deleted file]
tools/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/configure [deleted file]
tools/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/configure.in [deleted file]
tools/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/configure.srv [deleted file]
tools/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/linux-xen-low.c [deleted file]
tools/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/server.c [deleted file]
tools/gdb/gdb-6.2.1-xen-sparse/mkbuildtree [deleted file]
tools/gdb/gdbbuild [deleted file]
tools/libxc/Makefile
tools/libxc/list.h [deleted file]
tools/libxc/xc.h
tools/libxc/xc_debug.c [deleted file]
tools/libxc/xc_debug.h [deleted file]
tools/libxc/xc_private.c
tools/libxc/xc_private.h
tools/pdb/Domain.ml [deleted file]
tools/pdb/Domain.mli [deleted file]
tools/pdb/Intel.ml [deleted file]
tools/pdb/Makefile [deleted file]
tools/pdb/OCamlMakefile [deleted file]
tools/pdb/PDB.ml [deleted file]
tools/pdb/Process.ml [deleted file]
tools/pdb/Process.mli [deleted file]
tools/pdb/Util.ml [deleted file]
tools/pdb/debugger.ml [deleted file]
tools/pdb/evtchn.ml [deleted file]
tools/pdb/evtchn.mli [deleted file]
tools/pdb/pdb_caml_xc.c [deleted file]
tools/pdb/pdb_xen.c [deleted file]
tools/pdb/server.ml [deleted file]
xen/Rules.mk
xen/common/domain.c
xen/include/asm-x86/debugger.h
xen/include/public/xen.h
xen/include/xen/sched.h